// 评论请求模块
import request from '@/utils/request'

// 获取评论
export const getComments = (params) => {
  return request({
    method: 'GET',
    url: '/v1_0/comments',
    params
  })
}
// 发布文章评论，或评论回复
export const sendComment = (data) => {
  return request({
    method: 'POST',
    url: '/v1_0/comments',
    data
  })
}
